package com.shcz.migu.ui.bean;

/**
 * Created by Sea Zhang on 2017/3/20.
 */

public class AvaterUploadBean {

    /**
     * vendor : ali
     * bucket : luoqi-sandbox
     * key : u/2017/3/20/58cf488addbe9358219fb4feYVjpBbyi7u
     */

    private String vendor;
    private String bucket;
    private String key;

    public String getVendor() {
        return vendor;
    }

    public void setVendor(String vendor) {
        this.vendor = vendor;
    }

    public String getBucket() {
        return bucket;
    }

    public void setBucket(String bucket) {
        this.bucket = bucket;
    }

    public String getKey() {
        return key;
    }

    public void setKey(String key) {
        this.key = key;
    }

    @Override
    public String toString() {
        return "{"+"\"avatar\":{" +
                "vendor:'" + vendor + '\'' +
                ", bucket:'" + bucket + '\'' +
                ", key:'" + key + '\'' +
                '}'+"}";
    }
//    {"avatar":{'vendor':'ali','bucket':'luoqi-sandbox','key':'u/2017/3/20/58cf7835ddbe9358219fb5179PqkJMtUIV.jpg'}}

    //    @Override
//    public String toString() {
//        return "{avatar:"+"{" +
//                "\"vendor" + "\":\"" + vendor +
//                "\", \"bucket" + "\":\"" + bucket +
//                "\", \"key" + "\":\"" + key +
//                "\"}}";
//    }
}
